<!DOCTYPE html>
<!-- saved from url=(0052)http://getbootstrap.com/docs/4.0/examples/dashboard/ -->
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta name="description" content="">
  <meta name="author" content="">
  <title>软件工程设计</title>
  <!-- Bootstrap core CSS -->
  <link href="../../../css/bootstrap.min.css" rel="stylesheet">
  <!-- Custom styles for this template -->
  <link href="../../../css/dashboard.css" rel="stylesheet">
  <style>
    body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      background-color: #ececf6;
    }
    header {
      background-color: #ffdf7e; /* 蓝色 */
      color: #171a1d;
      padding: 20px 0;
      text-align: center;
    }
    nav {
      background-color: #7abaff;
      color: #fff;
      padding: 10px;
      text-align: center;
    }
    nav ul {
      list-style-type: none;
      margin: 0;
      padding: 0;
    }
    nav ul li {
      display: inline;
      margin-right: 10px;
    }
    section {
      padding: 20px;
      text-align: center;
    }
    footer {
      background-color: #818182;
      color: #fff;
      text-align: center;
      padding: 10px 0;
      position: fixed;
      bottom: 0;
      width: 100%;
    }
    .movie-poster {
      width: 200px;
      height: auto;
      margin-bottom: 20px;
    }
    .login-button {
      position: absolute;
      top: 70px;
      right: 20px;
      background-color: #cfe2ff;
      color: #23292e;
      padding: 10px 20px;
      border-radius: 5px;
      border: none;
      cursor: pointer;
    }
  </style>
</head>
</head>
<style type="text/css">
  /* Chart.js */
  @-webkit-keyframes chartjs-render-animation {
    from {
      opacity: 0.99
    }
    to {
      opacity: 1
    }
  }

  @keyframes chartjs-render-animation {
    from {
      opacity: 0.99
    }
    to {
      opacity: 1
    }
  }

  .chartjs-render-monitor {
    -webkit-animation: chartjs-render-animation 0.001s;
    animation: chartjs-render-animation 0.001s;
  }
</style>
</head>

<body>
<header>
  <h1>Welcome to 丽江新中数影城</h1>
</header>
      <form action="#" th:action="@{/updateMovie}" method="post">
        <ul style="list-style: none">
          <li>
            <label>影片编号:</label>
            <input type="text" name="id" th:value="${movie.id}" readonly="readonly"/>
          </li>
          <li>
            <label>影片名称:</label>
            <input type="text" name="title" th:value="${movie.title}"/>
          </li>
          <li>
            <label>影片类型:</label>
            <input type="text" name="genre" th:value="${movie.genre}"/>
          </li>
          <li>
            <label>导演主演:</label>
            <input type="text" name="director" th:value="${movie.director}"/>
          </li>
          <li>
            <label>上映公司:</label>
            <input type="text" name="company" th:value="${movie.company}"/>
          </li>
          <li>
            <label>详情描述:</label>
            <input type="text" name="description" th:value="${movie.description}"/>
          </li>
          <li>
            <input type="submit" class="btn btn-sm btn-info" id="update" value="修改"/>
          </li>
        </ul>
      </form>
    </main>
  </div>
</div>

<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script type="text/javascript" src="../../../js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="../../../js/popper.min.js" ></script>
<script type="text/javascript" src="../../../js/bootstrap.min.js"></script>

<!-- Icons -->
<script type="text/javascript" src="../../../js/feather.min.js"></script>
<script>
  feather.replace()
</script>

<!-- Graphs -->
<script type="text/javascript" src="../../../js/Chart.min.js"></script>
<script>
  var ctx = document.getElementById("myChart");
  var myChart = new Chart(ctx, {
    type: 'line',
    data: {
      labels: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
      datasets: [{
        data: [15339, 21345, 18483, 24003, 23489, 24092, 12034],
        lineTension: 0,
        backgroundColor: 'transparent',
        borderColor: '#007bff',
        borderWidth: 4,
        pointBackgroundColor: '#007bff'
      }]
    },
    options: {
      scales: {
        yAxes: [{
          ticks: {
            beginAtZero: false
          }
        }]
      },
      legend: {
        display: false,
      }
    }
  });
</script>

</body>
</html>